//
//  @ Project : Galaxy Star Trading System
//  @ File Name : StrategyInstrument.h
//  @ Date : 2014/9/5
//  @ Author : 
//
//
#if !defined(_STRATEGYINSTRUMENT_H)
#define _STRATEGYINSTRUMENT_H

namespace GSTrader
{
	namespace TradeStrategy
	{
		class CStrategyBase;
		class TRADE_STRATEGY_API CStrategyInstrument
		{
		public:
			CStrategyInstrument(CStrategyBase* pStrategy);
			virtual ~CStrategyInstrument();

			bool Contains(int nId);
			bool Add(int nId);
			bool Remove(int nId);

			void Clear();

		public:
			vector<int> m_vInstrumentId;
			CStrategyBase* m_pStrategy;
		};
	}
}

#endif // _STRATEGYINSTRUMENT_H
